<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html:form action="/View/employee.do?action=create">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Airline Systems</title>
	
	</head>

	<body>

	

			<jsp:include page="menu.jsp"></jsp:include>
			
			
			<td align="center">

	<h4 style="color: red"><html:errors /></h4>
	<bean:write name="employeeForm" property="error" />
	<br>

		<table border="1" cellspacing="1" bordercolor="blue">
		<tr>
			<td style="color: blue">First Name:</td>
			<td><html:text property="emp.firstName"
				name="employeeForm"></html:text></td>
		</tr>
		<tr>
			<td style="color: blue">Last Name:</td>
			<td><html:text property="emp.lastName" name="employeeForm"></html:text></td>

		</tr>
		<tr>
			<td style="color: blue">Address:</td>
			<td><html:text property="emp.address" name="employeeForm"></html:text></td>
		</tr>
		<tr>

			<td style="color: blue">City :</td>
			<td><html:text property="emp.city" name="employeeForm"></html:text></td>

		</tr>
		<tr>
			<td style="color: blue">State:</td>

			<td><html:select property="emp.state" name="employeeForm">
				<html:optionsCollection name="employeeForm"
					property="stateList" label="label" value="value" />
			</html:select></td>
		</tr>

		<tr>

			<td style="color: blue">Zip Code:</td>
			<td><html:text property="emp.zipCode" name="employeeForm"></html:text></td>
		</tr>
		<tr>

			<td style="color: blue">Date of Birth:</td>
			<td><html:text property="emp.dateOfBirth"
				name="employeeForm"></html:text></td>
		</tr>
		<tr>
			<td style="color: blue">Hire Date</td>
			<td><html:text property="emp.hireDate" name="employeeForm"></html:text>
			</td>
		</tr>
		<tr>

			<td style="color: blue">Work Description</td>
			<td><html:text property="emp.workDescription"
				name="employeeForm"></html:text></td>
		</tr>
		<tr>

			<td style="color: blue">Position</td>
			<td><html:select property="emp.position"
				name="employeeForm">
				<html:optionsCollection name="employeeForm"
					property="positionList" label="label" value="value" />
			</html:select></td>
		</tr>
	</table>
	<br>
	<center><html:submit>Create Employee</html:submit></center>
	
	
	</td></tr>
	</table>

	</body>
</html:form>